using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    [Serializable]
    public partial class materialOrder
    {
        public materialOrder()
        { }
        #region Model
        private int _matid; 
        private string _name = "";
        private string _spec = "";
        private double _amount = 0;
        private int _creatorid;
        private DateTime _createtime = DateTime.Now;
        private DateTime? _enddate;
        private DateTime? _deliverydate;
        private int _righttype;
        private string _comment;
        private int _state = 0;
        private int? _matbidid;


        private string _rightUserList;
        /// <summary>
        /// 
        /// </summary>
        public int matId
        {
            set { _matid = value; }
            get { return _matid; }
        } 
        /// <summary>
        /// 
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string spec
        {
            set { _spec = value; }
            get { return _spec; }
        }
        /// <summary>
        /// 
        /// </summary>
        public double amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int creatorID
        {
            set { _creatorid = value; }
            get { return _creatorid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? endDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? deliveryDate
        {
            set { _deliverydate = value; }
            get { return _deliverydate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int rightType
        {
            set { _righttype = value; }
            get { return _righttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string comment
        {
            set { _comment = value; }
            get { return _comment; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int state
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? matBidId
        {
            set { _matbidid = value; }
            get { return _matbidid; }
        }
        #endregion Model


        public string  rightUserList
        {
            set { _rightUserList = value; }
            get { return _rightUserList; }
        }
    }
}
